#define _CRT_SECURE_NO_WARNINGS 1


#include<algorithm>
#include<vector>
#include<iostream>

using namespace std;

int main()
{
	vector<int> v(3);
	cin >> v[0] >> v[1] >> v[2];
	sort(v.begin(), v.end(), greater<int>());
	for (auto& e : v)
	{
		cout << e << ' ';
	}
	cout << endl;

	return 0;
}